<?php

class DefaultController extends Controller
{
	function filters(){
		return array(
			'accessControl + index',//只针对具体某个方法起作用
		);		
	}
	
	function accessRules(){
		return array(
			array(
				'deny',
				'users'=>array('*'),
			),
		);
	}

	public function actionIndex()
	{
		$this->render('index');
	}
	
}